//
// Created by haozhenghui on 2020/12/4.
//

#ifndef C_TEST_BIT_H
#define C_TEST_BIT_H

int bit_get(const unsigned char *bits, int pos);

void bit_set(unsigned char *bits, int pos, int state);

void bit_xor(const unsigned char *bits1, const unsigned char *bits2, unsigned char *bitsx, int size);

void bit_rot_left(unsigned char *bits, int size, int count);

int bit_test();

#endif //C_TEST_BIT_H
